package com.domain;

import java.time.LocalDateTime;

//会用各种各样工具 代码生成器 ---> 开发效率非常的高
public class User {

    private Long id;

    private LocalDateTime addTime;

    private String userName;

    private String password;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public LocalDateTime getAddTime() {
        return addTime;
    }

    public void setAddTime(LocalDateTime addTime) {
        this.addTime = addTime;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", addTime=" + addTime +
                ", userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}
